package com.wh.useconfig.controller;

import com.wh.autoconfig.starter.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: HuiEr
 * @Date: 2020/2/21 8:28
 * @Description
 */
@RestController
public class TestAutoConfigController {
    @Autowired
    private DeptService deptService;
    @RequestMapping("/test")
    public String test(){
        deptService.showInfo();
        return "haha";
    }
}
